<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>qt5-webengine</Name>
        <Homepage>http://qt.digia.com/</Homepage>
        <Packager>
            <Name>Ayhan Yalçınsoy</Name>
            <Email>ayhanyalcinsoy@pisilinux.org</Email>
        </Packager>
        <Summary>Provides support for web applications using the Chromium browser project</Summary>
        <Description>Provides support for web applications using the Chromium browser project</Description>
        <License>LGPLv2.1-linking-exception</License>
        <Archive sha1sum="5407e2dbb042e115f3d1728656b3ae496e4fa8e0" type="tarxz">http://download.qt.io/official_releases/qt/5.9/5.9.3/submodules/qtwebengine-opensource-src-5.9.3.tar.xz</Archive>
        <BuildDependencies>
            <Dependency versionFrom="5.9.3">qt5-base-devel</Dependency>
            <Dependency versionFrom="5.9.3">qt5-declarative-devel</Dependency>
            <Dependency versionFrom="5.9.3">qt5-xmlpatterns-devel</Dependency>
            <Dependency versionFrom="5.9.3">qt5-location-devel</Dependency>
            <Dependency versionFrom="5.9.3">qt5-sensors-devel</Dependency>
            <Dependency versionFrom="5.9.3">qt5-webchannel-devel</Dependency>
            <Dependency>bison</Dependency>
            <Dependency>re2c</Dependency>
            <Dependency versionFrom="1.7.2">ninja</Dependency>
            <Dependency>gperf</Dependency>
            <Dependency>snappy-devel</Dependency>
            <Dependency>gobject-introspection-devel</Dependency>
            <Dependency>expat-devel</Dependency>
            <Dependency versionFrom="2.50.2">glib2-devel</Dependency>
            <Dependency>fontconfig-devel</Dependency>
            <Dependency versionFrom="2.7.1">freetype-devel</Dependency>
            <Dependency versionFrom="13.0.4">mesa-devel</Dependency>
            <Dependency versionFrom="3.2.1">eudev-devel</Dependency>
            <Dependency>libpng-devel</Dependency>
            <Dependency>webp-devel</Dependency>
            <Dependency>harfbuzz-devel</Dependency>
            <Dependency>json-c-devel</Dependency>
            <Dependency>protobuf-devel</Dependency>
            <Dependency>libdrm-devel</Dependency>
            <Dependency>libopus-devel</Dependency>
            <Dependency>libevent-devel</Dependency>
            <Dependency>zlib-devel</Dependency>
            <Dependency>libxml2-devel</Dependency>
            <Dependency>libxslt-devel</Dependency>
            <Dependency>libX11-devel</Dependency>
            <Dependency>libXi-devel</Dependency>
            <Dependency>libXcursor-devel</Dependency>
            <Dependency>libXext-devel</Dependency>
            <Dependency>libXfixes-devel</Dependency>
            <Dependency>libXrender-devel</Dependency>
            <Dependency>libXdamage-devel</Dependency>
            <Dependency>libXcomposite-devel</Dependency>
            <Dependency>libXtst-devel</Dependency>
            <Dependency>libXrandr-devel</Dependency>
            <Dependency>libXScrnSaver-devel</Dependency>
            <Dependency>libcap-devel</Dependency>
            <Dependency>pulseaudio-libs-devel</Dependency>
            <Dependency>alsa-lib-devel</Dependency>
            <Dependency>pciutils-devel</Dependency>
            <Dependency>dbus-devel</Dependency>
            <Dependency>nss-devel</Dependency>  <!--bizim nss ile derlenmiyor kendi içinde var-->
            <Dependency>perl</Dependency>
            <Dependency versionFrom="2.7.13">python-devel</Dependency>
            <Dependency>libvpx-devel</Dependency>
            <Dependency>libjpeg-turbo-devel</Dependency>
            <Dependency>x264-devel</Dependency>
            <Dependency>minizip-devel</Dependency>
            <Dependency versionFrom="58.2">icu4c-devel</Dependency>
            <Dependency versionFrom="3.2.4">ffmpeg-devel</Dependency>
            <Dependency>git</Dependency>
        </BuildDependencies>
        <Patches>
<!--             <Patch level="1">qtwebengine-5.7.0-icu58.patch</Patch> -->
            <Patch level="1">qtwebengine-5.9.3-icu-60-build.patch</Patch>
            <Patch level="1">harmony-fix.diff</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>qt5-webengine</Name>
        <Files>
            <Path fileType="executable">/usr/lib/qt5/bin/</Path>
            <Path fileType="executable">/usr/bin</Path>            
            <Path fileType="library">/usr/lib/libQt5WebEngine*</Path>
            <Path fileType="library">/usr/lib/libQt5WebEngineWidgets*</Path>
            <Path fileType="library">/usr/lib/qt5</Path>
            <Path fileType="data">/usr/share/qt5</Path>
            <Path fileType="localedata">/usr/share/qt5/translations</Path>
        </Files>
        <RuntimeDependencies>
            <Dependency>nss</Dependency>
            <Dependency>dbus</Dependency>
            <Dependency>nspr</Dependency>
            <Dependency>webp</Dependency>
            <Dependency>glib2</Dependency>
            <Dependency>libX11</Dependency>
            <Dependency>libgcc</Dependency>
            <Dependency>libpng</Dependency>
            <Dependency>snappy</Dependency>
            <Dependency versionFrom="2.7.1">freetype</Dependency>
            <Dependency>libXi</Dependency>
            <Dependency>libXext</Dependency>
            <Dependency>libXtst</Dependency>
            <Dependency>libxslt</Dependency>
            <Dependency>libopus</Dependency>
            <Dependency>libxml2</Dependency>
            <Dependency>libvpx</Dependency>
            <Dependency versionFrom="5.9.3">qt5-base</Dependency>
            <Dependency>alsa-lib</Dependency>
            <Dependency>harfbuzz</Dependency>
            <Dependency>libevent</Dependency>
            <Dependency>libXfixes</Dependency>
            <Dependency>fontconfig</Dependency>
            <Dependency>libXcursor</Dependency>
            <Dependency>libXdamage</Dependency>
            <Dependency>libXrender</Dependency>
            <Dependency versionFrom="5.9.3">qt5-location</Dependency>
            <Dependency>libXcomposite</Dependency>
            <Dependency>libjpeg-turbo</Dependency>
            <Dependency versionFrom="5.9.3">qt5-webchannel</Dependency>
            <Dependency versionFrom="5.9.3">qt5-declarative</Dependency>
            <Dependency>zlib</Dependency>
            <Dependency>minizip</Dependency>
            <Dependency>protobuf</Dependency>
        </RuntimeDependencies>
    </Package>

    <Package>
        <Name>qt5-webengine-devel</Name>
        <Files>
            <Path fileType="library">/usr/lib/pkgconfig</Path>
            <Path fileType="library">/usr/lib/cmake</Path>
            <Path fileType="headers">/usr/include/qt5</Path>
        </Files>
        <RuntimeDependencies>
            <Dependency release="current">qt5-webengine</Dependency>
            <Dependency versionFrom="5.9.3">qt5-base-devel</Dependency>
            <Dependency versionFrom="5.9.3">qt5-declarative-devel</Dependency>
            <Dependency versionFrom="5.9.3">qt5-location-devel</Dependency>
            <Dependency versionFrom="5.9.3">qt5-webchannel-devel</Dependency>
        </RuntimeDependencies>
    </Package>
    
    <Package>
        <Name>qt5-webengine-docs</Name>
        <RuntimeDependencies>
            <Dependency versionFrom="5.9.3">qt5-base</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
    </Package>

    <History>
        <Update release="4">
            <Date>2018-02-01</Date>
            <Version>5.9.3</Version>
            <Comment>Release bump</Comment>
            <Name>Kamil Atlı</Name>
            <Email>suvari@pisilinux.org</Email>
        </Update>
        <Update release="3">
            <Date>2017-03-08</Date>
            <Version>5.7.1</Version>
            <Comment>Release bump.</Comment>
            <Name>Kamil Atlı</Name>
            <Email>suvari@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-12-27</Date>
            <Version>5.6.2</Version>
            <Comment>Version bump</Comment>
            <Name>Ayhan Yalçınsoy</Name>
            <Email>ayhanyalcinsoy@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-06-15</Date>
            <Version>5.6.0</Version>
            <Comment>First release</Comment>
            <Name>Ayhan Yalçınsoy</Name>
            <Email>ayhanyalcinsoy@pisilinux.org</Email>
        </Update>
    </History>
</PISI>
